/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package horizon.gui;

import horizon.gui.component.GuiImageLabel;
import horizon.gui.component.GuiLabel;
import horizon.gui.component.GuiTextBlock;
import horizon.gui.component.GuiTextButton;
import horizon.states.State;
import horizon.util.ExpandedColor;
import horizon.util.Vector2;
import java.awt.Color;

/**
 *
 * @author J_Laptop
 */
public class TitleScreenGui extends GuiOverlay {

    public GuiLabel newG;
    public GuiImageLabel title;
    public GuiTextBlock status;
    public GuiTextButton connectButton;
    
    long time = 0;

    public TitleScreenGui(State owner) {
        super(owner);



        title = new GuiImageLabel("background" ,  "title" , new Vector2(0, 0), new Vector2(0));
        status = new GuiTextBlock("status" , ExpandedColor.transGray, Color.white, Color.gray, new Vector2(300, 100), new Vector2(100, 300));
        connectButton = new GuiTextButton("connect" , "CONNECT" , Color.white , Color.BLUE , new Vector2(100 , 50) , new Vector2(400 , 500));
        

        this.addComponent(title);
        this.addComponent(status);
        this.addComponent(connectButton);

    }

    @Override
    public void update(long elapsedTime) {
        super.update(elapsedTime);
        
        
    }
}
